package com.dingreading.cloud.admin.feign.fallback;

import com.dingreading.cloud.admin.dto.CaTeacherDto;
import com.dingreading.cloud.admin.feign.SomsFeignService;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SomsFeignFallBack implements SomsFeignService {

    @Override
    public boolean haveStageUid(String stageUid) {
        System.out.println("haveStageUid 降级了");
        return false;
    }

    @Override
    public boolean haveProjectUid(String projectUid) {
        System.out.println("haveProjectUid 降级了");
        return false;
    }

    @Override
    public List<CaTeacherDto> getTeachersByScheduleUids(List<String> scheduledUids) {
        System.out.println("getTeachersByScheduleUids 降级了");
        return null;
    }
}
